home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" standalone="yes"?>
- <xs:schema id="CustomersOrders" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xs:element name="CustomersOrders" msdata:IsDataSet="true" msdata:Locale="ru-RU">
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="Customers">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CustomerID" type="xs:string" minOccurs="0" />
- <xs:element name="CompanyName" type="xs:string" minOccurs="0" />
- <xs:element name="ContactName" type="xs:string" minOccurs="0" />
- <xs:element name="ContactTitle" type="xs:string" minOccurs="0" />
- <xs:element name="Address" type="xs:string" minOccurs="0" />
- <xs:element name="City" type="xs:string" minOccurs="0" />
- <xs:element name="Region" type="xs:string" minOccurs="0" />
- <xs:element name="PostalCode" type="xs:string" minOccurs="0" />
- <xs:element name="Country" type="xs:string" minOccurs="0" />
- <xs:element name="Phone" type="xs:string" minOccurs="0" />
- <xs:element name="Fax" type="xs:string" minOccurs="0" />
- <xs:element name="Orders" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="OrderID" type="xs:int" minOccurs="0" />
- <xs:element name="CustomerID" type="xs:string" minOccurs="0" />
- <xs:element name="EmployeeID" type="xs:int" minOccurs="0" />
- <xs:element name="OrderDate" type="xs:dateTime" minOccurs="0" />
- <xs:element name="RequiredDate" type="xs:dateTime" minOccurs="0" />
- <xs:element name="ShippedDate" type="xs:dateTime" minOccurs="0" />
- <xs:element name="ShipVia" type="xs:int" minOccurs="0" />
- <xs:element name="Freight" type="xs:decimal" minOccurs="0" />
- <xs:element name="ShipName" type="xs:string" minOccurs="0" />
- <xs:element name="ShipAddress" type="xs:string" minOccurs="0" />
- <xs:element name="ShipCity" type="xs:string" minOccurs="0" />
- <xs:element name="ShipRegion" type="xs:string" minOccurs="0" />
- <xs:element name="ShipPostalCode" type="xs:string" minOccurs="0" />
- <xs:element name="ShipCountry" type="xs:string" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- <xs:unique name="Constraint1">
- <xs:selector xpath=".//Customers" />
- <xs:field xpath="CustomerID" />
- </xs:unique>
- <xs:keyref name="Customers2Orders" refer="Constraint1" msdata:IsNested="true">
- <xs:selector xpath=".//Orders" />
- <xs:field xpath="CustomerID" />
- </xs:keyref>
- </xs:element>
- </xs:schema>